#include<iostream>
using namespace std;
class Complex
{
private:
	float real;
	float imag;
public:
	Complex(float r = 0, float i = 0);
	void print();
	friend Complex operator +(const Complex& a, const Complex& b);
	friend Complex operator +(const Complex& a, float f);
	friend Complex operator++(Complex& a);
};